package com.feicheng.house.service;

import com.feicheng.house.entity.BuyOrder;
import com.feicheng.house.entity.BuyOrderClientShopVo;
import com.feicheng.house.result.ResultInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * VIEW 服务类
 * </p>
 *
 * @author feichengTech
 * @since 2021-11-09
 */
public interface IBuyOrderClientShopVoService extends IService<BuyOrderClientShopVo> {
	/**
	 * 根据id查询对应的订单信息
	 * @param buyOrderId
	 * @return 查询到的订单详情
	 */
	ResultInfo seleOne(Integer buyOrderId);
	/**
	 * 分页模糊查询
	 * @param currentPage
	 * @param pageSize
	 * @param searchkey
	 * @return 查询到的订单和分页详情
	 */
	ResultInfo selectBuyOrder(Integer currentPage,
			Integer pageSize,
			String searchkey,
			String searchstart,
			String searchstart1,
			String searchend,
			String searchend1,
			String searchstatus); 
	/**
	 * 根据clientId查询客户的所有订单
	 * @param currentPage
	 * @param pageSize	
	 * @param clientId
	 * @return 查询到的订单详情
	 */
	ResultInfo selectOrders(Integer currentPage,
							Integer pageSize,							
							Integer clientId);
	
	
}
